package org.example.authservice.pojo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author 周昊
 * @version 1.0
 * @since 2024/12/20 21:59
 */
@Data
public class RePassword {
    /**
     *  email 邮箱
     *  code 验证码
     *  newPwd 新密码
     *  rePwd 重复密码
     */
    @NotNull(message = "邮箱不能为空")
    private String email;
    @NotNull(message = "验证码不能为空")
    private String code;
    @NotNull(message = "新密码不能为空")
    private String newPwd;
    @NotNull(message = "重复密码不能为空")
    private String rePwd;
}
